package DBman;

/**
 * This class is a basic data object for billing site data.
 * @author Johann Jungbauer
 */
public class BillingSiteData {
    private static String _BillingSiteRef;
    private static String _Script;
    private static String _Type;
    private static String _MaintanenceWindow;
    private static int _BillingCycle;
    private static int _RetryInterval;
    private static int _LeadTime;
    private static int _Concurrent;
    private static String[] _IDFields;
    private static String[] _AuthFields;
    
    public BillingSiteData(String billingRef, String script, String type, int billingCycle,
            int interval, int leadTime, int concurrent)
    {
        setBillingSiteRef(billingRef);
        setScript(script);
        setType(type);
        setMaintanenceWindow();
        setBillingCycle(billingCycle);
        setRetryInterval(interval);
        setLeadTime(leadTime);
        setConcurrent(concurrent);
        setIDFields();
        setAuthFields();
    }
    
    public static String getBillingSiteRef()
    {
        return _BillingSiteRef;
    }
    public static String getScript()
    {
        return _Script;
    }
    public static String getMaintanenceWindow()
    {
        return _MaintanenceWindow;
    }
    public static int getBillingCycle()
    {
        return _BillingCycle;
    }
    public static int getRetryInterval()
    {
        return _RetryInterval;
    }
    public static int getLeadTime()
    {
        return _LeadTime;
    }
    public static int getConcurrent()
    {
        return _Concurrent;
    }
    public static String[] getIDFields()
    {
        return _IDFields;
    }
    public static String[] getAuthFields()
    {
        return _AuthFields;
    }
    
    public static String getType()
    {
        return _Type;
    }
    
    private static void setType(String type)
    {
        _Type = type;
    }
    private static void setBillingSiteRef(String billingRef)
    {
        _BillingSiteRef = billingRef;
    }
    private static void setScript(String script)
    {
        _Script = script;
    }
    private static void setMaintanenceWindow()
    {
        
    }
    private static void setBillingCycle(int billingCycle)
    {
        _BillingCycle = billingCycle;
    }
    private static void setRetryInterval(int interval)
    {
        _RetryInterval = interval;
    }
    private static void setLeadTime(int leadTime)
    {
        _LeadTime = leadTime;
    }
    private static void setConcurrent(int concurrent)
    {
        _Concurrent = concurrent;
    }
    private static void setIDFields()
    {
        
    }
    private static void setAuthFields()
    {
        
    }
}
